package com.xiaoyu.fish.mapper;


import com.xiaoyu.fish.common.Result;
import com.xiaoyu.fish.dto.LocationDto;
import com.xiaoyu.fish.pojo.Location;
import com.xiaoyu.fish.pojo.Position;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;


//MapperScan扫面到会注册成bean，不用加repository也可以的
@Repository
public interface PositioningMapper {

    public List<Position> selectALLPoint();

    public void savePoint(Position position);

    public Position selectOne(int id);

    public void deleteById(int id);

}
